
header { margin: 0; width: 100%; z-index: 9; transition: all 0.4s; background: #fff }
/*topnav*/

a { text-decoration: none; color: #000; }

a:hover { color: #218af1; text-decoration: none; }
.topnav { width: 100%; background: #1487f4; }

.topnav h2 { color: #fff; position: fixed; top: 0; padding-left: 10px; font-weight: normal; height: 40px; line-height: 40px; display: none; }

.topnav:before { display: table; content: " "; }

.topnav:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }

nav { text-align: center; line-height: 50px; width: 100%; }

nav #starlist { margin: auto; width: 1170px; }
#starlist li { position: relative; display: inline; float: left; font-size: 15px; margin-right: 10px; }

#starlist li a { display: inline; float: left; padding: 0 20px; color: #fff; }

#starlist li a:hover { background: rgb(9, 118, 220); }

#selected { position: relative }

#starlist ul.sub { padding: 5px 0; position: absolute; left: 0; top: 50px; background: rgb(9, 118, 220); z-index: 9; display: none; }

#starlist ul.sub li { height: 34px; line-height: 34px; margin-left: 0; width: 100%; font-size: 14px; }

#starlist ul.sub li a { padding: 0; display: block; width: 100%; }

#starlist ul.sub li a:hover { background: #1487f4; }

#starlist li:hover ul.sub { display: block }

a#selected { background: rgb(9, 118, 220); }

#starlist ul.sub:before { content: ""; height: 15px; width: 15px; background: rgb(9, 118, 220); -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); border-left: 0; border-bottom: 0; position: absolute; top: -8px; left: 42%; }
.menu:after { content: ""; position: absolute; right: 5px; top: 24px; width: 0; height: 0; border-width: 4px 4px 0; border-style: solid; border-color: #fff transparent transparent; -ms-transition: all .5s ease; -moz-transition: all .5s ease; -webkit-transition: all .5s ease; -o-transition: all .5s ease; transition: all .5s ease; }

.menu:hover:after { transform: rotate(180deg) }